<?php

namespace app\common\validate;

use think\Validate;

class Test extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'week' => 'require', 'title' => 'require', 'content' => 'require', 
    ];
    /**
     * 提示消息
     */
    protected $message = [
        
    ];
    /**
     * 字段信息
     */
    protected $field = [
        'week' => '星期(单选)', 'title' => '标题', 'content' => '内容', 
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];

}
